var sys= {
  state: {
    name: "超级管理员",
	sex:"男"
  },
  mutations: {
    resex:function (state) {
      state.sex="女"
    },
	rename:function (state) {
       
	   setTimeout(function(){
		   state.name="超级管理员,延时1秒后修改的"		   
	   },1000)
	   
    }
  },
  actions: {
    rename:function (context) {
      context.commit('rename')
    }
  }
}

export default sys